package com.kristin;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @ClassName DispatcherServlet
 * @Description TODO
 * @Author Kristin
 * @Date 2021/06/23 16:42:32
 * @Version 1.0.0
 */
public class DispatcherServlet extends HttpServlet {


    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        String serverName = (String)req.getParameter("serverName");
        String args = (String)req.getParameter("args");
        String methodName = (String)req.getParameter("methodName");
        System.out.println("获取到请求");
    }
}
